import java.awt.*;
//import static com.sun.tools.javac.main.Option.G;

public class Background {
    void paintSelf(Graphics g,int fishLevel){
        g.drawImage(GameUtils.bgimg,0,0,null);
        switch (GameWin.state){
            case 0:
                GameUtils.drawWord(g,"开始",Color.red,80,700,500);
                break;
            case 1:
                    GameUtils.drawWord(g,"积分"+GameUtils.count,Color.ORANGE,50,200,120);
                    GameUtils.drawWord(g,"难度"+GameUtils.level,Color.ORANGE,50,600,120);
                    GameUtils.drawWord(g,"等级"+fishLevel,Color.ORANGE,50,1000,120);
                    break;
            case 2:
                    GameUtils.drawWord(g,"积分"+GameUtils.count,Color.ORANGE,50,200,120);
                    GameUtils.drawWord(g,"难度"+GameUtils.level,Color.ORANGE,50,600,120);
                    GameUtils.drawWord(g,"等级"+fishLevel,Color.ORANGE,50,1000,120);
                    GameUtils.drawWord(g,"失败",Color.red,80,700,500);
                    break;
            case 3:
                    GameUtils.drawWord(g,"积分"+GameUtils.count,Color.ORANGE,50,200,120);
                    GameUtils.drawWord(g,"难度"+GameUtils.level,Color.ORANGE,50,600,120);
                    GameUtils.drawWord(g,"等级"+fishLevel,Color.ORANGE,50,1000,120);
                    GameUtils.drawWord(g,"胜利",Color.red,80,700,500);
                    break;
            case 4:

                    break;
                    default:

        }
    }
}
